import axios from '../http';

export function login(data) {
	return axios({
		url: 'mobile-pwd-login',
		method: 'post',
		data: {
			'name': data.name,
			'pwd': data.password
		},
		headers: {
			'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8'
		}
	})
}